
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>18种CSS命名和书写规范 · 记录技术文档内容</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="zhengyuliang">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-sectionx/sectionx.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-toggle-chapters/toggle.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="灵活运用CSS开发技巧.html" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">CSS</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="18种CSS命名和书写规范.html">
            
                <a href="18种CSS命名和书写规范.html">
            
                    
                    18种CSS命名和书写规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="灵活运用CSS开发技巧.html">
            
                <a href="灵活运用CSS开发技巧.html">
            
                    
                    灵活运用CSS开发技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="自适应 flex grid.html">
            
                <a href="自适应 flex grid.html">
            
                    
                    自适应 Flex Grid
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">HTML</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../HTML/浏览器里的本地数据库：IndexedDB.html">
            
                <a href="../HTML/浏览器里的本地数据库：IndexedDB.html">
            
                    
                    浏览器里的本地数据库：IndexedDB
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Vue</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../Vue/7个有用的Vue开发技巧.html">
            
                <a href="../Vue/7个有用的Vue开发技巧.html">
            
                    
                    7个有用的Vue开发技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../Vue/Vue this.$router.push、replace、go的区别.html">
            
                <a href="../Vue/Vue this.$router.push、replace、go的区别.html">
            
                    
                    Vue This.$Router.Push、Replace、Go的区别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../Vue/Vue 的父组件和子组件生命周期钩子函数执行顺序？.html">
            
                <a href="../Vue/Vue 的父组件和子组件生命周期钩子函数执行顺序？.html">
            
                    
                    Vue 的父组件和子组件生命周期钩子函数执行顺序？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="../Vue/Vue.set和this.$set应用的场景.html">
            
                <a href="../Vue/Vue.set和this.$set应用的场景.html">
            
                    
                    Vue.Set和This.$Set应用的场景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="../Vue/vue高级技巧.html">
            
                <a href="../Vue/vue高级技巧.html">
            
                    
                    Vue高级技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="../Vue/从 0 开始手把手带你搭建一套规范的 Vue3.x 项目工程环境.html">
            
                <a href="../Vue/从 0 开始手把手带你搭建一套规范的 Vue3.x 项目工程环境.html">
            
                    
                    从 0 开始手把手带你搭建一套规范的 Vue3.X 项目工程环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="../Vue/浅析 vue-router 源码和动态路由权限分配.html">
            
                <a href="../Vue/浅析 vue-router 源码和动态路由权限分配.html">
            
                    
                    浅析 Vue Router 源码和动态路由权限分配
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="../Vue/父组件监听到子组件的生命周期.html">
            
                <a href="../Vue/父组件监听到子组件的生命周期.html">
            
                    
                    父组件监听到子组件的生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.9" data-path="../Vue/理解Vue.mixin，利用Vue.mixin正确的偷懒.html">
            
                <a href="../Vue/理解Vue.mixin，利用Vue.mixin正确的偷懒.html">
            
                    
                    理解Vue.Mixin，利用Vue.Mixin正确的偷懒
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">JavaScript</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../javaScript/5个技巧让你更好的编写 JavaScript(ES6">
            
                <span>
            
                    
                    5个技巧让你更好的编写 JavaScript(ES6) 中条件语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="../javaScript/5种常见函数的写法和调用方式.html">
            
                <a href="../javaScript/5种常见函数的写法和调用方式.html">
            
                    
                    5种常见函数的写法和调用方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="../javaScript/7道javascript题，让你理解基本的javascript.html">
            
                <a href="../javaScript/7道javascript题，让你理解基本的javascript.html">
            
                    
                    7道Javascript题，让你理解基本的Javascript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="../javaScript/Array.from(">
            
                <span>
            
                    
                    Array.From() 五个超好用的用途
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="../javaScript/ES6汇总资料.html">
            
                <a href="../javaScript/ES6汇总资料.html">
            
                    
                    ES6汇总资料
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6" data-path="../javaScript/JS开发必须知道的41个技巧.html">
            
                <a href="../javaScript/JS开发必须知道的41个技巧.html">
            
                    
                    JS开发必须知道的41个技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.7" data-path="../javaScript/JavaScript之防抖Debounce和节流Throttle.html">
            
                <a href="../javaScript/JavaScript之防抖Debounce和节流Throttle.html">
            
                    
                    JavaScript之防抖Debounce和节流Throttle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.8" data-path="../javaScript/JavaScript数组求并集，交集和差集.html">
            
                <a href="../javaScript/JavaScript数组求并集，交集和差集.html">
            
                    
                    JavaScript数组求并集，交集和差集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.9" data-path="../javaScript/JavaScript的优雅写法.html">
            
                <a href="../javaScript/JavaScript的优雅写法.html">
            
                    
                    JavaScript的优雅写法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.10" data-path="../javaScript/axios知识点.html">
            
                <a href="../javaScript/axios知识点.html">
            
                    
                    Axios知识点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.11" data-path="../javaScript/javascript核心知识.html">
            
                <a href="../javaScript/javascript核心知识.html">
            
                    
                    Javascript核心知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.12" data-path="../javaScript/this、apply、call、bind.html">
            
                <a href="../javaScript/this、apply、call、bind.html">
            
                    
                    This、Apply、Call、Bind
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.13" data-path="../javaScript/前端js常用的60余种工具方法.html">
            
                <a href="../javaScript/前端js常用的60余种工具方法.html">
            
                    
                    前端Js常用的60余种工具方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.14" data-path="../javaScript/前端异常的捕获与处理.html">
            
                <a href="../javaScript/前端异常的捕获与处理.html">
            
                    
                    前端异常的捕获与处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.15" data-path="../javaScript/在 JavaScript 中交换值的 10 种方法.html">
            
                <a href="../javaScript/在 JavaScript 中交换值的 10 种方法.html">
            
                    
                    在 JavaScript 中交换值的 10 种方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.16" data-path="../javaScript/常用的前端JavaScript方法封装.html">
            
                <a href="../javaScript/常用的前端JavaScript方法封装.html">
            
                    
                    常用的前端JavaScript方法封装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.17" data-path="../javaScript/异步神器Async-await介绍与填坑.html">
            
                <a href="../javaScript/异步神器Async-await介绍与填坑.html">
            
                    
                    异步神器Async Await介绍与填坑
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.18" data-path="../javaScript/灵活运用JS开发技巧.html">
            
                <a href="../javaScript/灵活运用JS开发技巧.html">
            
                    
                    灵活运用JS开发技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.19" data-path="../javaScript/编写高质量可维护的代码：一目了然的注释.html">
            
                <a href="../javaScript/编写高质量可维护的代码：一目了然的注释.html">
            
                    
                    编写高质量可维护的代码：一目了然的注释
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.20" data-path="../javaScript/编写高质量可维护的代码：优化逻辑判断.html">
            
                <a href="../javaScript/编写高质量可维护的代码：优化逻辑判断.html">
            
                    
                    编写高质量可维护的代码：优化逻辑判断
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.21" data-path="../javaScript/编写高质量可维护的代码：优雅命名.html">
            
                <a href="../javaScript/编写高质量可维护的代码：优雅命名.html">
            
                    
                    编写高质量可维护的代码：优雅命名
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.22" data-path="../javaScript/编写高质量可维护的代码：数据建模.html">
            
                <a href="../javaScript/编写高质量可维护的代码：数据建模.html">
            
                    
                    编写高质量可维护的代码：数据建模
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Life Exp</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../life_exp/告别平庸的15个小方法.html">
            
                <a href="../life_exp/告别平庸的15个小方法.html">
            
                    
                    告别平庸的15个小方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../life_exp/日志记录.html">
            
                <a href="../life_exp/日志记录.html">
            
                    
                    日志记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="../life_exp/程序员的发展方向.html">
            
                <a href="../life_exp/程序员的发展方向.html">
            
                    
                    程序员的发展方向
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="../message/">
            
                <a href="../message/">
            
                    
                    Message
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Technology</li>
        
        
    
        <li class="chapter " data-level="6.1" data-path="../technology/WebSocket.html">
            
                <a href="../technology/WebSocket.html">
            
                    
                    WebSocket
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2" data-path="../technology/npm常用命令大全.html">
            
                <a href="../technology/npm常用命令大全.html">
            
                    
                    Npm常用命令大全
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3" data-path="../technology/智能照明项目说明.html">
            
                <a href="../technology/智能照明项目说明.html">
            
                    
                    智能照明项目说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4" data-path="../technology/规范化git的提交信息.html">
            
                <a href="../technology/规范化git的提交信息.html">
            
                    
                    规范化Git的提交信息
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Tutorial</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="../tutorial/Esmap地图详解.html">
            
                <a href="../tutorial/Esmap地图详解.html">
            
                    
                    Esmap地图详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="../tutorial/npm镜像切换.html">
            
                <a href="../tutorial/npm镜像切换.html">
            
                    
                    Npm镜像切换
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="../tutorial/发布npm的教程.html">
            
                <a href="../tutorial/发布npm的教程.html">
            
                    
                    发布Npm的教程
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >18种CSS命名和书写规范</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <html><head></head><body><div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><ul><ul><li><span class="title-icon "></span><a href="#18&#x79CD;css&#x547D;&#x540D;&#x548C;&#x4E66;&#x5199;&#x89C4;&#x8303;"><b>1.1.1. </b>18&#x79CD;CSS&#x547D;&#x540D;&#x548C;&#x4E66;&#x5199;&#x89C4;&#x8303;</a></li></ul></ul></ul></div><a href="#" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h3 id="18&#x79CD;css&#x547D;&#x540D;&#x548C;&#x4E66;&#x5199;&#x89C4;&#x8303;"><a name="18&#x79CD;css&#x547D;&#x540D;&#x548C;&#x4E66;&#x5199;&#x89C4;&#x8303;" class="anchor-navigation-ex-anchor" href="#18&#x79CD;css&#x547D;&#x540D;&#x548C;&#x4E66;&#x5199;&#x89C4;&#x8303;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1.1. 18&#x79CD;CSS&#x547D;&#x540D;&#x548C;&#x4E66;&#x5199;&#x89C4;&#x8303;</h3>
<blockquote>
<p>&#x9009;&#x62E9;&#x5668;&#x7684;&#x547D;&#x540D;&#x89C4;&#x8303;</p>
</blockquote>
<h4 id="1&#x6A21;&#x5757;&#x5316;&#x547D;&#x540D;"><a name="1&#x6A21;&#x5757;&#x5316;&#x547D;&#x540D;" class="anchor-navigation-ex-anchor" href="#1&#x6A21;&#x5757;&#x5316;&#x547D;&#x540D;"><i class="fa fa-link" aria-hidden="true"></i></a>1.&#x6A21;&#x5757;&#x5316;&#x547D;&#x540D;</h4>
<p>&#x4F8B;&#x5982;&#xFF1A;</p>
<ul>
<li>&#x4E0E;&#x5E03;&#x5C40;&#x76F8;&#x5173;&#x7684;&#x6837;&#x5F0F;&#x4EE5;&#x201C;g&#x201D;&#x4E3A;&#x5F00;&#x5934;&#x3002;&#x5982;&#x201C;g-content&#x201D;&#x548C;&#x201C;g-header&#x201D;&#xFF1B;</li>
<li>&#x4E0E;&#x6302;&#x94A9;&#x76F8;&#x5173;&#x7684;&#x6837;&#x5F0F;&#x4EE5;&#x201C;j&#x201D;&#x4E3A;&#x5F00;&#x5934;&#x3002;&#x5982;&#x201C;j-open&#x201D;&#x548C;&#x201C;j-request&#x201D;&#xFF1B;</li>
<li>&#x4E0E;&#x5143;&#x4EF6;&#x76F8;&#x5173;&#x7684;&#x6837;&#x5F0F;&#x4EE5;&#x201C;m&#x201D;&#x4E3A;&#x5F00;&#x5934;&#x3002;&#x5982;&#x201C;m-dropMenu&#x201D;&#x548C;&#x201C;m-slider&#x201D;&#xFF1B;</li>
<li>&#x4E0E;&#x72B6;&#x6001;&#x76F8;&#x5173;&#x7684;&#x6837;&#x5F0F;&#x4EE5;&#x201C;s&#x201D;&#x4E3A;&#x5F00;&#x5934;&#x3002;&#x5982;&#x201C;s-current&#x201D;&#x548C;&#x201C;s-selected&#x201D;&#xFF1B;</li>
<li>&#x4E0E;&#x5DE5;&#x5177;&#x76F8;&#x5173;&#x7684;&#x6837;&#x5F0F;&#x4EE5;&#x201C;u&#x201D;&#x4E3A;&#x5F00;&#x5934;&#x3002;&#x5982;&#x201C;u-clearfix&#x201D;&#x548C;&#x201C;u-ellipsis&#x201D;&#x3002;</li>
</ul>
<blockquote>
<p>&#x201C;&#x5DE5;&#x5177;&#x201D;&#x662F;&#x6307;&#x4E0E;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#x89E3;&#x8026;&#x7684;&#xFF0C;&#x80FD;&#x591F;&#x91CD;&#x7528;&#x7684;&#x6837;&#x5F0F;&#xFF1B;&#x201C;&#x5143;&#x4EF6;&#x201D;&#x662F;&#x6307;&#x81EA;&#x5B9A;&#x4E49;&#x7684;&#x53EF;&#x91CD;&#x7528;&#x4E14;&#x53EF;&#x79FB;&#x690D;&#x7684;&#x57FA;&#x672C;&#x7F51;&#x9875;&#x5143;&#x7D20;&#xFF1B;&#x201C;&#x6302;&#x94A9;&#x201D;&#x662F;&#x6307;&#x4F9B;JavaScript&#x64CD;&#x7EB5;&#x7684;&#x6837;&#x5F0F;&#x3002;</p>
</blockquote>
<p>&#x4EE5;&#x4E0A;&#x7684;&#x8BF4;&#x660E;&#x53EA;&#x662F;&#x4E3E;&#x4F8B;&#xFF0C;&#x5927;&#x5BB6;&#x53EF;&#x4EE5;&#x6839;&#x636E;&#x9879;&#x76EE;&#x9700;&#x6C42;&#x81EA;&#x5B9A;&#x4E49;&#x5F00;&#x5934;&#x7684;&#x5B57;&#x7B26;&#xFF0C;&#x8FD9;&#x6837;&#x505A;&#x7684;&#x76EE;&#x7684;&#x662F;&#x4F7F;CSS&#x4EE3;&#x7801;&#x6574;&#x6D01;&#x6613;&#x7EF4;&#x62A4;&#x3002;</p>
<h4 id="2&#x9009;&#x62E9;&#x5668;&#x7686;&#x4E3A;&#x5C0F;&#x5199;&#x5F62;&#x5F0F;"><a name="2&#x9009;&#x62E9;&#x5668;&#x7686;&#x4E3A;&#x5C0F;&#x5199;&#x5F62;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#2&#x9009;&#x62E9;&#x5668;&#x7686;&#x4E3A;&#x5C0F;&#x5199;&#x5F62;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>2.&#x9009;&#x62E9;&#x5668;&#x7686;&#x4E3A;&#x5C0F;&#x5199;&#x5F62;&#x5F0F;</h4>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.g-first-header</span>
{
    <span class="hljs-attribute">line-height</span>: <span class="hljs-number">16px</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.g-FirstHeader</span>
{
    <span class="hljs-attribute">line-height</span>: <span class="hljs-number">16px</span>;
}
</code></pre>
<h4 id="3&#x6BCF;&#x4E2A;&#x9009;&#x62E9;&#x5668;&#x72EC;&#x5360;&#x4E00;&#x5217;"><a name="3&#x6BCF;&#x4E2A;&#x9009;&#x62E9;&#x5668;&#x72EC;&#x5360;&#x4E00;&#x5217;" class="anchor-navigation-ex-anchor" href="#3&#x6BCF;&#x4E2A;&#x9009;&#x62E9;&#x5668;&#x72EC;&#x5360;&#x4E00;&#x5217;"><i class="fa fa-link" aria-hidden="true"></i></a>3.&#x6BCF;&#x4E2A;&#x9009;&#x62E9;&#x5668;&#x72EC;&#x5360;&#x4E00;&#x5217;</h4>
<p>&#x9664;&#x6700;&#x540E;&#x4E00;&#x4E2A;&#x9009;&#x62E9;&#x5668;&#x5916;&#xFF0C;&#x5176;&#x5B83;&#x6BCF;&#x4E00;&#x5217;&#x9009;&#x62E9;&#x5668;&#x5747;&#x4EE5;&#x9017;&#x53F7;&#x7ED3;&#x5C3E;&#x3002;&#x82E5;&#x7528;&#x5230;&#x5144;&#x5F1F;&#x5143;&#x7D20;&#x9009;&#x62E9;&#x5668;&#xFF0C;&#x5219;&#x76F8;&#x5173;&#x7B26;&#x53F7;&#x7684;&#x5DE6;&#x53F3;&#x4E24;&#x7AEF;&#x5747;&#x7559;&#x51FA;&#x4E00;&#x4E2A;&#x534A;&#x89D2;&#x7A7A;&#x683C;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css">// web&#x524D;&#x7AEF;&#x5F00;&#x53D1;&#x5B66;&#x4E60;Q-q-u-n&#xFF1A; 731771211&#xFF0C;&#x5206;&#x4EAB;&#x5B66;&#x4E60;&#x7684;&#x65B9;&#x6CD5;&#x548C;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#x5C0F;&#x7EC6;&#x8282;&#xFF0C;&#x4E0D;&#x505C;&#x66F4;&#x65B0;&#x6700;&#x65B0;&#x7684;&#x6559;&#x7A0B;&#x548C;&#x5B66;&#x4E60;&#x65B9;&#x6CD5;&#xFF08;&#x8BE6;&#x7EC6;&#x7684;&#x524D;&#x7AEF;&#x9879;&#x76EE;&#x5B9E;&#x6218;&#x6559;&#x5B66;&#x89C6;&#x9891;&#xFF0C;PDF&#xFF09;
.g-first-header,
.g-second-header-1 &gt; .g-second-header-2
{
    border: 2px solid #C3C3C3;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.g-first-header</span>, <span class="hljs-selector-class">.g-second-header-1</span>&gt;<span class="hljs-selector-class">.g-second-header-2</span>
{
    <span class="hljs-attribute">border</span>: <span class="hljs-number">2px</span> solid <span class="hljs-number">#C3C3C3</span>;
}
</code></pre>
<h4 id="4&#x907F;&#x5F00;html&#x6807;&#x8BB0;"><a name="4&#x907F;&#x5F00;html&#x6807;&#x8BB0;" class="anchor-navigation-ex-anchor" href="#4&#x907F;&#x5F00;html&#x6807;&#x8BB0;"><i class="fa fa-link" aria-hidden="true"></i></a>4.&#x907F;&#x5F00;HTML&#x6807;&#x8BB0;</h4>
<p>&#x6784;&#x5EFA;&#x9009;&#x62E9;&#x5668;&#x65F6;&#x5E94;&#x5C3D;&#x91CF;&#x91C7;&#x7528;&#x8BED;&#x4E49;&#x660E;&#x786E;&#x7684;&#x7C7B;&#x522B;&#x540D;&#x79F0;&#xFF0C;&#x907F;&#x5F00;HTML&#x6807;&#x8BB0;&#xFF0C;&#x56E0;&#x4E3A;&#x4E00;&#x65E6;HTML&#x7684;&#x7ED3;&#x6784;&#x4EA7;&#x751F;&#x66F4;&#x52A8;&#xFF0C;&#x5219;&#x4E0E;&#x6B64;&#x5BF9;&#x5E94;&#x7684;&#x6837;&#x5F0F;&#x4E5F;&#x5C31;&#x65E0;&#x6548;&#x4E86;&#x3002;&#x5C3D;&#x91CF;&#x5C06;&#x6837;&#x5F0F;&#x4E0E;&#x7ED3;&#x6784;&#x5206;&#x79BB;&#xFF0C;&#x8FD9;&#x6837;&#x4F1A;&#x4F7F;&#x5F97;&#x9636;&#x5C42;&#x5F0F;&#x6837;&#x5F0F;&#x8868;&#x5728;&#x65E5;&#x540E;&#x66F4;&#x6613;&#x88AB;&#x7EF4;&#x62A4;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.g-content</span> <span class="hljs-selector-class">.g-item</span>
{
    <span class="hljs-attribute">flex-basis</span>: <span class="hljs-number">20%</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.g-content</span> <span class="hljs-selector-tag">li</span>
{
    <span class="hljs-attribute">flex-basis</span>: <span class="hljs-number">20%</span>;
}
</code></pre>
<h4 id="5&#x5C11;&#x7528;id"><a name="5&#x5C11;&#x7528;id" class="anchor-navigation-ex-anchor" href="#5&#x5C11;&#x7528;id"><i class="fa fa-link" aria-hidden="true"></i></a>5.&#x5C11;&#x7528;ID</h4>
<p>ID&#x7684;&#x552F;&#x4E00;&#x6027;&#x6CE8;&#x5B9A;&#x4E86;&#x5B83;&#x6240;&#x5BF9;&#x5E94;&#x7684;&#x5143;&#x7D20;&#x7684;&#x6837;&#x5F0F;&#x5C31;&#x662F;&#x4E00;&#x6B21;&#x6027;&#x7684;&#xFF0C;&#x65E0;&#x6CD5;&#x91CD;&#x7528;&#xFF0C;&#x4E00;&#x65E6;HTML&#x7ED3;&#x6784;&#x53D1;&#x751F;&#x53D8;&#x5316;&#xFF0C;&#x5957;&#x7528;ID&#x7684;&#x9009;&#x62E9;&#x5668;&#x5C31;&#x8981;&#x968F;&#x4E4B;&#x4FEE;&#x6539;&#x3002;&#x53E6;&#x4E00;&#x4E2A;&#x91CD;&#x8981;&#x7684;&#x539F;&#x56E0;&#x662F;&#xFF1A;ID&#x7684;&#x6743;&#x91CD;&#x503C;&#x662F;&#x6700;&#x9AD8;&#x7684;&#xFF0C;&#x8FD9;&#x53EF;&#x80FD;&#x4F1A;&#x5BFC;&#x81F4;&#x65E5;&#x540E;&#x6DFB;&#x52A0;&#x7684;&#x6837;&#x5F0F;&#x65E0;&#x6CD5;&#x590D;&#x5199;&#x539F;&#x5148;&#x7684;&#x6837;&#x5F0F;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.g-special-content</span>
{
    <span class="hljs-attribute">height</span>: <span class="hljs-number">100px</span>;
    <span class="hljs-attribute">width</span>: <span class="hljs-number">300px</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-id">#special-content</span>
{
    <span class="hljs-attribute">height</span>: <span class="hljs-number">100px</span>;
    <span class="hljs-attribute">width</span>: <span class="hljs-number">300px</span>;
}
</code></pre>
<blockquote>
<p>&#x5C5E;&#x6027;&#x7684;&#x4E66;&#x5199;&#x89C4;&#x8303;</p>
</blockquote>
<h4 id="1&#x6309;&#x987A;&#x5E8F;&#x6392;&#x5217;&#x5C5E;&#x6027;"><a name="1&#x6309;&#x987A;&#x5E8F;&#x6392;&#x5217;&#x5C5E;&#x6027;" class="anchor-navigation-ex-anchor" href="#1&#x6309;&#x987A;&#x5E8F;&#x6392;&#x5217;&#x5C5E;&#x6027;"><i class="fa fa-link" aria-hidden="true"></i></a>1.&#x6309;&#x987A;&#x5E8F;&#x6392;&#x5217;&#x5C5E;&#x6027;</h4>
<p>&#x6BCF;&#x6761;&#x89C4;&#x5219;&#x4E0B;&#x7684;&#x5C5E;&#x6027;&#x5728;&#x4E66;&#x5199;&#x65F6;&#xFF0C;&#x5E94;&#x6309;&#x7C7B;&#x522B;&#x8FDB;&#x884C;&#x5206;&#x7EC4;&#xFF0C;&#x5176;&#x6392;&#x5217;&#x987A;&#x5E8F;&#x5982;&#x4E0B;&#xFF1A;</p>
<ol>
<li>&#x4F4D;&#x7F6E;&#xFF1A;bottom&#x3001;float&#x3001;display&#x3001;left&#x3001;position&#x3001;right&#x3001;top&#x548C;z-index&#x7B49;&#xFF1B;</li>
<li>&#x5927;&#x5C0F;&#xFF1A;height&#x3001;margin&#x3001;padding&#x548C;width&#x7B49;&#xFF1B;</li>
<li>&#x7248;&#x5F0F;&#xFF1A;color&#x3001;font&#x3001;letter-spacing&#x3001;line-height&#x548C;text-align&#x7B49;&#xFF1B;</li>
<li>&#x80CC;&#x666F;&#xFF1A;background&#x7B49;&#xFF1B;</li>
<li>&#x5176;&#x5B83;&#xFF1A;animation&#x548C;transition&#x7B49;&#x3002;</li>
</ol>
<h4 id="2&#x7F29;&#x5199;&#x5C5E;&#x6027;"><a name="2&#x7F29;&#x5199;&#x5C5E;&#x6027;" class="anchor-navigation-ex-anchor" href="#2&#x7F29;&#x5199;&#x5C5E;&#x6027;"><i class="fa fa-link" aria-hidden="true"></i></a>2.&#x7F29;&#x5199;&#x5C5E;&#x6027;</h4>
<p>&#x6709;&#x4E9B;&#x5C5E;&#x6027;&#x662F;&#x53EF;&#x4EE5;&#x5408;&#x5728;&#x4E00;&#x5757;&#x7684;&#xFF0C;&#x65E2;&#x7CBE;&#x7B80;&#x4EE3;&#x7801;&#xFF0C;&#x53C8;&#x4FBF;&#x4E8E;&#x9605;&#x8BFB;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-1</span>
{
    <span class="hljs-attribute">padding</span>: <span class="hljs-number">3px</span> <span class="hljs-number">5px</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-1</span>
{
    <span class="hljs-attribute">padding-top</span>: <span class="hljs-number">3px</span>;
    <span class="hljs-attribute">padding-right</span>: <span class="hljs-number">5px</span>;
    <span class="hljs-attribute">padding-bottom</span>: <span class="hljs-number">3px</span>;
    <span class="hljs-attribute">padding-left</span>: <span class="hljs-number">5px</span>;
}
</code></pre>
<h4 id="3&#x53BB;&#x9664;&#x5C0F;&#x6570;&#x5F00;&#x5934;&#x7684;0"><a name="3&#x53BB;&#x9664;&#x5C0F;&#x6570;&#x5F00;&#x5934;&#x7684;0" class="anchor-navigation-ex-anchor" href="#3&#x53BB;&#x9664;&#x5C0F;&#x6570;&#x5F00;&#x5934;&#x7684;0"><i class="fa fa-link" aria-hidden="true"></i></a>3.&#x53BB;&#x9664;&#x5C0F;&#x6570;&#x5F00;&#x5934;&#x7684;0</h4>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-2</span>
{
    <span class="hljs-attribute">font-size</span>: .<span class="hljs-number">5em</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-2</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">0.5em</span>;
}
</code></pre>
<h4 id="4&#x7F29;&#x5199;&#x5341;&#x516D;&#x8FDB;&#x4F4D;&#x503C;"><a name="4&#x7F29;&#x5199;&#x5341;&#x516D;&#x8FDB;&#x4F4D;&#x503C;" class="anchor-navigation-ex-anchor" href="#4&#x7F29;&#x5199;&#x5341;&#x516D;&#x8FDB;&#x4F4D;&#x503C;"><i class="fa fa-link" aria-hidden="true"></i></a>4.&#x7F29;&#x5199;&#x5341;&#x516D;&#x8FDB;&#x4F4D;&#x503C;</h4>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-3</span>
{
    <span class="hljs-attribute">background-color</span>: <span class="hljs-number">#0b0</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-3</span>
{
    <span class="hljs-attribute">background-color</span>: <span class="hljs-number">#00bb00</span>;
}
</code></pre>
<h4 id="5&#x5408;&#x7406;&#x4F7F;&#x7528;&#x5F15;&#x53F7;"><a name="5&#x5408;&#x7406;&#x4F7F;&#x7528;&#x5F15;&#x53F7;" class="anchor-navigation-ex-anchor" href="#5&#x5408;&#x7406;&#x4F7F;&#x7528;&#x5F15;&#x53F7;"><i class="fa fa-link" aria-hidden="true"></i></a>5.&#x5408;&#x7406;&#x4F7F;&#x7528;&#x5F15;&#x53F7;</h4>
<p>&#x5BF9;&#x4E8E;&#x201C;font-family&#x201D;&#x5C5E;&#x6027;&#x6765;&#x8BF4;&#xFF0C;&#x6211;&#x4EEC;&#x901A;&#x5E38;&#x4F1A;&#x4EE5;&#x5F15;&#x53F7;&#x5939;&#x4F4F;&#x5E26;&#x6709;&#x7A7A;&#x683C;&#x7684;&#x5B57;&#x4F53;&#x540D;&#x79F0;&#xFF0C;&#x800C;&#x5BF9;&#x4E8E;&#x4E0D;&#x5177;&#x5907;&#x8FD9;&#x4E9B;&#x7279;&#x5F81;&#x7684;&#x4E00;&#x822C;&#x5B57;&#x4F53;&#x6765;&#x8BF4;&#xFF0C;&#x5F15;&#x53F7;&#x5B58;&#x5728;&#x4E0E;&#x5426;&#x5E76;&#x4E0D;&#x5F71;&#x54CD;&#x9875;&#x9762;&#x7684;&#x663E;&#x793A;&#x6548;&#x679C;&#x3002;&#x4E3A;&#x4E86;&#x4FDD;&#x8BC1;&#x89C6;&#x89C9;&#x4E0A;&#x7684;&#x7EDF;&#x4E00;&#xFF0C;&#x6700;&#x5927;&#x7A0B;&#x5EA6;&#x76F8;&#x5BB9;&#x5404;&#x79CD;&#x6D4F;&#x89C8;&#x5668;&#xFF0C;&#x5EFA;&#x8BAE;&#x4F60;&#x5728;&#x6240;&#x6709;&#x5B57;&#x4F53;&#x540D;&#x79F0;&#x7684;&#x4E24;&#x7AEF;&#x5747;&#x52A0;&#x4E0A;&#x5F15;&#x53F7;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-4</span>
{
    <span class="hljs-attribute">font-family</span>: <span class="hljs-string">&quot;Microsoft YaHei&quot;</span>, <span class="hljs-string">&quot;&#x5FAE;&#x8F6F;&#x6B63;&#x9ED1;&#x4F53;&quot;</span>, <span class="hljs-string">&quot;\5b8b\4f53&quot;</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-4</span>
{
    <span class="hljs-attribute">font-family</span>: <span class="hljs-string">&quot;Microsoft YaHei&quot;</span>, &#x5FAE;&#x8F6F;&#x6B63;&#x9ED1;&#x4F53;, \<span class="hljs-number">5</span>b8b\<span class="hljs-number">4</span>f53;
}
</code></pre>
<p>&#x4E2A;&#x522B;&#x5C5E;&#x6027;&#x7684;&#x503C;&#x542B;&#x6709;&#x201C;url&#xFF08;&#xFF09;&#x201D;&#x5B57;&#x4E32;&#xFF0C;&#x5F00;&#x53D1;&#x8005;&#x9700;&#x8981;&#x5F80;&#x5176;&#x4E2D;&#x4F20;&#x5165;&#x4E00;&#x4E2A;&#x8D44;&#x6E90;&#x8DEF;&#x5F84;&#x3002;&#x8BF7;&#x6CE8;&#x610F;&#xFF0C;&#x5728;&#x4F4E;&#x7248;&#x672C;&#x7684;Internet Explorer&#x4E2D;&#xFF0C;&#x8DEF;&#x5F84;&#x4E2D;&#x7684;&#x7A7A;&#x683C;&#x6709;&#x53EF;&#x80FD;&#x65E0;&#x6CD5;&#x88AB;&#x8FA8;&#x8BC6;&#xFF0C;&#x5BFC;&#x81F4;&#x8D44;&#x6E90;&#x65E0;&#x6CD5;&#x88AB;&#x627E;&#x5230;&#x3002;&#x4E3A;&#x4FDD;&#x9669;&#x8D77;&#x89C1;&#xFF0C;&#x4E0D;&#x8BBA;&#x8DEF;&#x5F84;&#x4E2D;&#x662F;&#x5426;&#x542B;&#x6709;&#x7A7A;&#x683C;&#xFF0C;&#x4F60;&#x4F20;&#x5165;&#x7684;&#x8DEF;&#x5F84;&#x4E24;&#x7AEF;&#x6700;&#x597D;&#x90FD;&#x52A0;&#x4E0A;&#x5F15;&#x53F7;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css">//web&#x524D;&#x7AEF;&#x5F00;&#x53D1;&#x5B66;&#x4E60;Q-q-u-n&#xFF1A; 731771211&#xFF0C;&#x5206;&#x4EAB;&#x5B66;&#x4E60;&#x7684;&#x65B9;&#x6CD5;&#x548C;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#x5C0F;&#x7EC6;&#x8282;&#xFF0C;&#x4E0D;&#x505C;&#x66F4;&#x65B0;&#x6700;&#x65B0;&#x7684;&#x6559;&#x7A0B;&#x548C;&#x5B66;&#x4E60;&#x65B9;&#x6CD5;&#xFF08;&#x8BE6;&#x7EC6;&#x7684;&#x524D;&#x7AEF;&#x9879;&#x76EE;&#x5B9E;&#x6218;&#x6559;&#x5B66;&#x89C6;&#x9891;&#xFF0C;PDF&#xFF09;
.test-selector-5
{
    background-image: url(&#x201C;../Images/BacPic.png&#x201D;);
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-5</span>
{
    <span class="hljs-attribute">background-image</span>: <span class="hljs-built_in">url</span>(../Images/BackPic.png);
}
</code></pre>
<h4 id="6&#x907F;&#x5F00;&#xFF01;important"><a name="6&#x907F;&#x5F00;&#xFF01;important" class="anchor-navigation-ex-anchor" href="#6&#x907F;&#x5F00;&#xFF01;important"><i class="fa fa-link" aria-hidden="true"></i></a>6.&#x907F;&#x5F00;&#xFF01;important</h4>
<p>&#x201C;&#xFF01;important&#x201D;&#x4F1A;&#x7ED9;&#x65E5;&#x540E;&#x7684;&#x7EF4;&#x62A4;&#x5E26;&#x6765;&#x9EBB;&#x70E6;&#xFF0C;&#x4F7F;&#x5F00;&#x53D1;&#x8005;&#x96BE;&#x4EE5;&#x67E5;&#x627E;&#x6837;&#x5F0F;&#x95EE;&#x9898;&#x3002;&#x5982;&#x679C;&#x5728;&#x4E66;&#x5199;&#x65F6;&#x53D1;&#x73B0;&#x65B0;&#x6837;&#x5F0F;&#x65E0;&#x6CD5;&#x590D;&#x5199;&#x65E7;&#x6837;&#x5F0F;&#x3002;&#x901A;&#x5E38;&#x6709;&#x4E24;&#x4E2A;&#x539F;&#x56E0;&#xFF1A;&#x8981;&#x4E48;&#x65B0;&#x6837;&#x5F0F;&#x5199;&#x5728;&#x4E86;&#x65E7;&#x6837;&#x5F0F;&#x7684;&#x524D;&#x9762;&#xFF0C;&#x8981;&#x4E48;&#x65B0;&#x6837;&#x5F0F;&#x5BF9;&#x5E94;&#x7684;&#x9009;&#x62E9;&#x5668;&#x7684;&#x6743;&#x91CD;&#x6BD4;&#x65E7;&#x6837;&#x5F0F;&#x7684;&#x66F4;&#x4F4E;&#x3002;&#x9488;&#x5BF9;&#x540E;&#x4E00;&#x79CD;&#x60C5;&#x51B5;&#xFF0C;&#x53EA;&#x8981;&#x589E;&#x52A0;&#x65B0;&#x6837;&#x5F0F;&#x9009;&#x62E9;&#x5668;&#x7684;&#x6743;&#x91CD;&#x503C;&#x5C31;&#x53EF;&#x4EE5;&#x5B8C;&#x5168;&#x907F;&#x5F00;&#x8FD9;&#x4E2A;&#x95EE;&#x9898;&#xFF0C;&#x65E0;&#x9700;&#x7528;&#x5230;&#x201C;&#xFF01;important&#x201D;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-6</span> <span class="hljs-selector-class">.test-selector-7</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">16px</span>;
}

<span class="hljs-selector-class">.test-selector-6</span> <span class="hljs-selector-class">.test-selector-7</span> <span class="hljs-selector-class">.test-selector-8</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">14px</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-6</span> <span class="hljs-selector-class">.test-selector-7</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">16px</span>;
}

<span class="hljs-selector-class">.test-selector-8</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">14px</span> <span class="hljs-meta">!important</span>;
}
</code></pre>
<h4 id="7&#x89C4;&#x8303;&#x6CE8;&#x91CA;"><a name="7&#x89C4;&#x8303;&#x6CE8;&#x91CA;" class="anchor-navigation-ex-anchor" href="#7&#x89C4;&#x8303;&#x6CE8;&#x91CA;"><i class="fa fa-link" aria-hidden="true"></i></a>7.&#x89C4;&#x8303;&#x6CE8;&#x91CA;</h4>
<p>&#x5728;&#x5355;&#x5217;&#x6CE8;&#x91CA;&#x4E2D;&#xFF0C;&#x661F;&#x53F7;&#x4E0E;&#x5185;&#x5BB9;&#x4E4B;&#x95F4;&#x7559;&#x4E00;&#x4E2A;&#x534A;&#x89D2;&#x7A7A;&#x683C;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css">/* &#x8FD9;&#x662F;&#x7B2C;&#x4E00;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002; */

// &#x8FD9;&#x662F;&#x7B2C;&#x4E8C;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;&#x590D;&#x5236;&#x4EE3;&#x7801;
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css">/*&#x8FD9;&#x91CC;&#x662F;&#x4E00;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;*/

//&#x8FD9;&#x662F;&#x7B2C;&#x4E8C;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;&#x590D;&#x5236;&#x4EE3;&#x7801;
</code></pre>
<p>&#x5728;&#x591A;&#x5217;&#x6CE8;&#x91CA;&#x4E2D;&#xFF0C;&#x591A;&#x4E2A;&#x661F;&#x53F7;&#x8981;&#x6392;&#x6210;&#x4E00;&#x6761;&#x7EBF;&#x3002;&#x661F;&#x53F7;&#x4E0E;&#x5185;&#x5BB9;&#x4E4B;&#x95F4;&#x540C;&#x6837;&#x7559;&#x4E00;&#x4E2A;&#x534A;&#x89D2;&#x7A7A;&#x683C;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-comment">/**
 * &#x8FD9;&#x91CC;&#x662F;&#x4E00;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;
 * &#x8FD9;&#x662F;&#x7B2C;&#x4E8C;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;
 */</span>
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-comment">/**
*&#x8FD9;&#x91CC;&#x662F;&#x4E00;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;
*&#x8FD9;&#x662F;&#x7B2C;&#x4E8C;&#x6BB5;&#x6CE8;&#x91CA;&#x6587;&#x5B57;&#x3002;
*/</span>
</code></pre>
<p>&#x5728;&#x6587;&#x6863;&#x6CE8;&#x91CA;&#x4E2D;&#xFF0C;&#x9664;&#x4E86;&#x8981;&#x6309;&#x7167;&#x591A;&#x5217;&#x6CE8;&#x91CA;&#x7684;&#x5199;&#x6CD5;&#x4EE5;&#x5916;&#xFF0C;&#x8FD8;&#x8981;&#x7528;&#x6807;&#x8BC6;&#x7B26;&#x6765;&#x8BF4;&#x660E;&#x6587;&#x6863;&#x4E2D;&#x7684;&#x67D0;&#x4E00;&#x90E8;&#x5206;&#xFF0C;&#x6807;&#x8BC6;&#x7B26;&#x540E;&#x7684;&#x5192;&#x53F7;&#x53F3;&#x4FA7;&#x4E0E;&#x8BF4;&#x660E;&#x6587;&#x5B57;&#x4E4B;&#x95F4;&#x7559;&#x4E00;&#x4E2A;&#x534A;&#x89D2;&#x7A7A;&#x683C;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-comment">/**

* @name: &#x6587;&#x4EF6;&#x540D;&#xFF1B;

* @description: &#x63CF;&#x8FF0;&#x6587;&#x5B57;&#xFF1B;

* @author: &#x5F20;&#x4E09;&#x3001;&#x674E;&#x56DB;&#xFF1B;

* @update: 2018&#x5E74;12&#x6708;19&#x65E5;&#x3002;

*/</span>
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-comment">/**

* @name:&#x6587;&#x4EF6;&#x540D;&#xFF1B;

* @description:&#x63CF;&#x8FF0;&#x6587;&#x5B57;&#xFF1B;

* @author:&#x5F20;&#x4E09;&#x3001;&#x674E;&#x56DB;&#xFF1B;

* @update:2018&#x5E74;12&#x6708;19&#x65E5;&#x3002;

*/</span>
</code></pre>
<h4 id="8&#x5C06;&#x6807;&#x51C6;&#x5C5E;&#x6027;&#x7F6E;&#x4E8E;&#x5E95;&#x90E8;"><a name="8&#x5C06;&#x6807;&#x51C6;&#x5C5E;&#x6027;&#x7F6E;&#x4E8E;&#x5E95;&#x90E8;" class="anchor-navigation-ex-anchor" href="#8&#x5C06;&#x6807;&#x51C6;&#x5C5E;&#x6027;&#x7F6E;&#x4E8E;&#x5E95;&#x90E8;"><i class="fa fa-link" aria-hidden="true"></i></a>8.&#x5C06;&#x6807;&#x51C6;&#x5C5E;&#x6027;&#x7F6E;&#x4E8E;&#x5E95;&#x90E8;</h4>
<p>&#x6709;&#x4E9B;&#x5C5E;&#x6027;&#x5728;&#x90E8;&#x5206;&#x6D4F;&#x89C8;&#x5668;&#x4E2D;&#x5C1A;&#x672A;&#x5B8C;&#x5168;&#x6807;&#x51C6;&#x5316;&#xFF0C;&#x6BCF;&#x5BB6;&#x6D4F;&#x89C8;&#x5668;&#x5F00;&#x53D1;&#x5546;&#x5BF9;&#x8FD9;&#x4E9B;&#x5C5E;&#x6027;&#x7684;&#x5B9E;&#x73B0;&#x6548;&#x679C;&#x6216;&#x8BB8;&#x5E76;&#x4E0D;&#x7EDF;&#x4E00;&#xFF0C;&#x56E0;&#x6B64;&#x76EE;&#x524D;&#x9700;&#x8981;&#x5728;&#x5F00;&#x5934;&#x52A0;&#x5165;&#x6D4F;&#x89C8;&#x5668;&#x5382;&#x5546;&#x7684;&#x4E13;&#x6709;&#x5B57;&#x7B26;&#x4E32;&#x3002;&#x56E0;&#x6B64;&#x540C;&#x4E00;&#x4E2A;&#x5C5E;&#x6027;&#x9700;&#x8981;&#x5199;&#x591A;&#x6B21;&#xFF0C;&#x4F46;&#x6709;&#x4E00;&#x6761;&#x9700;&#x8981;&#x6CE8;&#x610F;&#xFF1A;&#x5C06;&#x4E0D;&#x5E26;&#x524D;&#x7F6E;&#x6807;&#x8BB0;&#x7684;&#x5C5E;&#x6027;&#x7F6E;&#x4E8E;&#x6700;&#x4E0B;&#x65B9;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-9</span>
{
    <span class="hljs-attribute">opacity</span>: <span class="hljs-number">0</span>;
    <span class="hljs-attribute">-webkit-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">-moz-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">-ms-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">-o-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">transition</span>: opacity <span class="hljs-number">3s</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-9</span>
{
    <span class="hljs-attribute">opacity</span>: <span class="hljs-number">0</span>;
    <span class="hljs-attribute">-webkit-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">-moz-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">-ms-transition</span>: opacity <span class="hljs-number">3s</span>;
    <span class="hljs-attribute">-o-transition</span>: opacity <span class="hljs-number">3s</span>;
}
</code></pre>
<h4 id="9&#x6CE8;&#x610F;&#x6807;&#x70B9;&#x7B26;&#x53F7;"><a name="9&#x6CE8;&#x610F;&#x6807;&#x70B9;&#x7B26;&#x53F7;" class="anchor-navigation-ex-anchor" href="#9&#x6CE8;&#x610F;&#x6807;&#x70B9;&#x7B26;&#x53F7;"><i class="fa fa-link" aria-hidden="true"></i></a>9.&#x6CE8;&#x610F;&#x6807;&#x70B9;&#x7B26;&#x53F7;</h4>
<p>&#x6BCF;&#x4E2A;&#x5C5E;&#x6027;&#x72EC;&#x5360;&#x4E00;&#x5217;&#x3002;&#x7D27;&#x63A5;&#x6837;&#x5F0F;&#x5C5E;&#x6027;&#x7684;&#x5192;&#x53F7;&#xFF0C;&#x5176;&#x540E;&#x9762;&#x8981;&#x7559;&#x4E00;&#x4E2A;&#x534A;&#x89D2;&#x7A7A;&#x683C;&#x3002;&#x503C;&#x4EE5;&#x5206;&#x53F7;&#x7ED3;&#x5C3E;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-10</span>
{
    <span class="hljs-attribute">opacity</span>: .<span class="hljs-number">5</span>;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-10</span>
{
    <span class="hljs-attribute">opacity</span>:.<span class="hljs-number">5</span>
}
</code></pre>
<h4 id="10&#x6837;&#x5F0F;&#x5757;&#x95F4;&#x7559;&#x4E00;&#x7A7A;&#x884C;"><a name="10&#x6837;&#x5F0F;&#x5757;&#x95F4;&#x7559;&#x4E00;&#x7A7A;&#x884C;" class="anchor-navigation-ex-anchor" href="#10&#x6837;&#x5F0F;&#x5757;&#x95F4;&#x7559;&#x4E00;&#x7A7A;&#x884C;"><i class="fa fa-link" aria-hidden="true"></i></a>10.&#x6837;&#x5F0F;&#x5757;&#x95F4;&#x7559;&#x4E00;&#x7A7A;&#x884C;</h4>
<p>&#x6837;&#x5F0F;&#x9009;&#x62E9;&#x5668;&#x53CA;&#x5176;&#x6837;&#x5F0F;&#x5757;&#x4E0E;&#x5468;&#x906D;&#x5185;&#x5BB9;&#x8981;&#x4FDD;&#x7559;&#x4E00;&#x7A7A;&#x884C;&#x4EE5;&#x907F;&#x514D;&#x5185;&#x5BB9;&#x8FC7;&#x4E8E;&#x62E5;&#x6324;&#xFF0C;&#x59A8;&#x788D;&#x5BFB;&#x627E;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-11</span>
{
    <span class="hljs-attribute">opacity</span>: <span class="hljs-number">0.5</span>;
}

<span class="hljs-selector-class">.test-selector-12</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">16px</span>;
}

<span class="hljs-selector-class">.test-selector-13</span>
{
    <span class="hljs-attribute">overflow</span>: hidden;
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-selector-11</span>
{
    <span class="hljs-attribute">opacity</span>: <span class="hljs-number">0.5</span>;
}
<span class="hljs-selector-class">.test-selector-12</span>
{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">16px</span>;
}
<span class="hljs-selector-class">.test-selector-13</span>
{
    <span class="hljs-attribute">overflow</span>: hidden;
}
</code></pre>
<h4 id="11&#x5C06;&#x8FC7;&#x957F;&#x7684;&#x5185;&#x5BB9;&#x6298;&#x4E3A;&#x82E5;&#x5E72;&#x5217;"><a name="11&#x5C06;&#x8FC7;&#x957F;&#x7684;&#x5185;&#x5BB9;&#x6298;&#x4E3A;&#x82E5;&#x5E72;&#x5217;" class="anchor-navigation-ex-anchor" href="#11&#x5C06;&#x8FC7;&#x957F;&#x7684;&#x5185;&#x5BB9;&#x6298;&#x4E3A;&#x82E5;&#x5E72;&#x5217;"><i class="fa fa-link" aria-hidden="true"></i></a>11.&#x5C06;&#x8FC7;&#x957F;&#x7684;&#x5185;&#x5BB9;&#x6298;&#x4E3A;&#x82E5;&#x5E72;&#x5217;</h4>
<p>&#x540C;&#x4E00;&#x5C5E;&#x6027;&#x7684;&#x503C;&#x4E0D;&#x6B62;&#x4E00;&#x4E2A;&#x6216;&#x503C;&#x8FC7;&#x957F;&#x65F6;&#xFF0C;&#x4EE5;&#x9017;&#x53F7;&#x5206;&#x5272;&#x8FD9;&#x4E9B;&#x503C;&#xFF0C;&#x6BCF;&#x4E2A;&#x9017;&#x53F7;&#x540E;&#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x7A7A;&#x683C;&#xFF0C;&#x8FC7;&#x957F;&#x7684;&#x503C;&#x53EF;&#x4EE5;&#x53E6;&#x8D77;&#x4E00;&#x5217;&#x3002;</p>
<p>&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css">//web&#x524D;&#x7AEF;&#x5F00;&#x53D1;&#x5B66;&#x4E60;Q-q-u-n&#xFF1A; 731771211&#xFF0C;&#x5206;&#x4EAB;&#x5B66;&#x4E60;&#x7684;&#x65B9;&#x6CD5;&#x548C;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#x5C0F;&#x7EC6;&#x8282;&#xFF0C;&#x4E0D;&#x505C;&#x66F4;&#x65B0;&#x6700;&#x65B0;&#x7684;&#x6559;&#x7A0B;&#x548C;&#x5B66;&#x4E60;&#x65B9;&#x6CD5;&#xFF08;&#x8BE6;&#x7EC6;&#x7684;&#x524D;&#x7AEF;&#x9879;&#x76EE;&#x5B9E;&#x6218;&#x6559;&#x5B66;&#x89C6;&#x9891;&#xFF0C;PDF&#xFF09;
.test-selector-14
{
    linear-gradient(135deg, deeppink 25%, transparent 25%) - 50px 0,
    linear-gradient(225deg, deeppink 25%, transparent 25%) - 50px 0,
    linear-gradient(315deg, deeppink 25%, transparent 25%),
    linear-gradient(45deg, deeppink 25%, transparent 25%);
}
</code></pre>
<p>&#x4E0D;&#x63A8;&#x8350;&#x7684;&#x5199;&#x6CD5;&#xFF1A;</p>
<pre><code class="lang-css">.test-selector-14
{
    linear-gradient(135deg, deeppink 25%, transparent 25%) - 50px 0, linear-gradient(225deg, deeppink 25%, transparent 25%) - 50px 0, linear-gradient(315deg, deeppink 25%, transparent 25%), linear-gradient(45deg, deeppink 25%, transparent 25%);
}
</code></pre>
<h4 id="12&#x907F;&#x5F00;css-hack"><a name="12&#x907F;&#x5F00;css-hack" class="anchor-navigation-ex-anchor" href="#12&#x907F;&#x5F00;css-hack"><i class="fa fa-link" aria-hidden="true"></i></a>12.&#x907F;&#x5F00;CSS Hack</h4>
<p>&#x6240;&#x8C13;&#x201C;CSS Hack&#x201D;&#xFF0C;&#x5C31;&#x662F;&#x5728;&#x6837;&#x5F0F;&#x8868;&#x4E2D;&#x52A0;&#x5165;&#x5C11;&#x8BB8;&#x7279;&#x6B8A;&#x7B26;&#x53F7;&#xFF0C;&#x8BA9;&#x80FD;&#x591F;&#x8FA8;&#x8BC6;&#x4E0D;&#x540C;&#x7B26;&#x53F7;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x5143;&#x7D20;&#x4E0A;&#x8BA1;&#x7B97;&#x51FA;&#x6765;&#x7684;&#x6837;&#x5F0F;&#x5404;&#x4E0D;&#x76F8;&#x540C;&#x3002;&#x51FA;&#x73B0;CSS Hack&#x7684;&#x539F;&#x56E0;&#x5C31;&#x5728;&#x4E8E;&#x8001;&#x5F0F;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#xFF08;&#x8BF8;&#x5982;&#x9971;&#x53D7;&#x8BDF;&#x75C5;&#x7684;Internet Explorer 6&#xFF09;&#x5BF9;&#x540C;&#x4E00;&#x5957;&#x6837;&#x5F0F;&#x8868;&#x7684;&#x8BA1;&#x7B97;&#x7ED3;&#x679C;&#x4E0E;&#x5176;&#x5B83;&#x6D4F;&#x89C8;&#x5668;&#x7684;&#x5E76;&#x4E0D;&#x76F8;&#x540C;&#xFF0C;&#x8FD9;&#x5C31;&#x5F88;&#x6709;&#x53EF;&#x80FD;&#x4F1A;&#x9020;&#x6210;&#x7248;&#x5F0F;&#x4E0A;&#x7684;&#x9519;&#x4E71;&#x3002;&#x56E0;&#x6B64;&#x5728;&#x8FC7;&#x53BB;&#xFF0C;&#x6211;&#x4EEC;&#x901A;&#x5E38;&#x8981;&#x9488;&#x5BF9;&#x4E2A;&#x522B;&#x602A;&#x5F02;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#x64B0;&#x5199;&#x6709;&#x9488;&#x5BF9;&#x6027;&#x7684;CSS&#x3002;&#x5982;width: 300px; _width: 200px;&#x5BF9;&#x5176;&#x5B83;&#x6D4F;&#x89C8;&#x5668;&#x6765;&#x8BF4;&#xFF0C;&#x8BE5;&#x9009;&#x62E9;&#x5668;&#x7684;&#x5BBD;&#x5EA6;&#x503C;&#x5E94;&#x4E3A;300&#x4E2A;&#x50CF;&#x7D20;&#xFF0C;&#x4F46;IE 6&#x80FD;&#x591F;&#x8FA8;&#x8BC6;&#x51FA;&#x5E95;&#x7EBF;&#xFF0C;&#x56E0;&#x6B64;&#x5B83;&#x8BA1;&#x7B97;&#x51FA;&#x7684;&#x5BBD;&#x5EA6;&#x5C31;&#x662F;200&#x4E2A;&#x50CF;&#x7D20;&#x3002;</p>
<h4 id="13&#x51CF;&#x5C11;&#x4F7F;&#x7528;&#x5F71;&#x54CD;&#x6027;&#x80FD;&#x7684;&#x5C5E;&#x6027;"><a name="13&#x51CF;&#x5C11;&#x4F7F;&#x7528;&#x5F71;&#x54CD;&#x6027;&#x80FD;&#x7684;&#x5C5E;&#x6027;" class="anchor-navigation-ex-anchor" href="#13&#x51CF;&#x5C11;&#x4F7F;&#x7528;&#x5F71;&#x54CD;&#x6027;&#x80FD;&#x7684;&#x5C5E;&#x6027;"><i class="fa fa-link" aria-hidden="true"></i></a>13.&#x51CF;&#x5C11;&#x4F7F;&#x7528;&#x5F71;&#x54CD;&#x6027;&#x80FD;&#x7684;&#x5C5E;&#x6027;</h4>
<p>&#x6837;&#x5F0F;&#x8868;&#x4E2D;&#x4E0D;&#x8981;&#x542B;&#x6709;&#x8FC7;&#x591A;&#x7684;&#x6EE4;&#x955C;&#x8868;&#x8FBE;&#x5F0F;&#x548C;repeat&#x5173;&#x952E;&#x5B57;&#x7B49;&#xFF0C;&#x8FD9;&#x4E9B;&#x5C5E;&#x6027;&#x4F1A;&#x964D;&#x4F4E;&#x7F51;&#x9875;&#x7684;&#x6E32;&#x67D3;&#x6027;&#x80FD;&#x3002;&#x82E5;&#x8981;&#x91CD;&#x590D;&#x80CC;&#x666F;&#x56FE;&#x7247;&#xFF0C;&#x90A3;&#x4E48;&#x539F;&#x56FE;&#x7684;&#x5BBD;&#x9AD8;&#x5404;&#x4E0D;&#x5C0F;&#x4E8E;8px&#x3002; </p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; zhengyuliang all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x7F16;&#x5199;&#x65F6;&#x95F4;&#xFF1A;
2019-12-06 13:39:00
</span></footer></body></html>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: Introduction">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="灵活运用CSS开发技巧.html" class="navigation navigation-next " aria-label="Next page: 灵活运用CSS开发技巧">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"18种CSS命名和书写规范","level":"1.2","depth":1,"next":{"title":"灵活运用CSS开发技巧","level":"1.3","depth":1,"path":"CSS/灵活运用CSS开发技巧.md","ref":"CSS/灵活运用CSS开发技巧.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["sectionx","splitter","tbfed-pagefooter","toggle-chapters","theme-comscore","-lunr","-search","search-plus","donate","anchor-navigation-ex","expandable-chapters","chapter-fold","expandable-chapters-small","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy zhengyuliang","modify_label":"该文件编写时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"pluginsConfig":{"anchor-navigation-ex":{"showLevel":false,"showGoTop":true,"isRewritePageTitle":true,"isShowTocTitleIcon":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right"}},"livereload":{},"splitter":{},"donate":{"title":"","button":"赏","wechat":"https://gitee.com/htzyl/img_bed/raw/master/pay/weixin-min.jpg","alipay":"https://gitee.com/htzyl/img_bed/raw/master/pay/alipay-min.jpg","wechatText":"微信打赏","alipayText":"支付宝打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"sectionx":{"tag":"b"},"highlight":{},"anchor-navigation-ex":{"showLevel":true,"associatedWithSummary":true,"mode":"float","showGoTop":true,"printLog":false,"multipleH1":true,"float":{"floatIcon":"fa fa-navicon","showLevelIcon":false,"level1Icon":"","level2Icon":"","level3Icon":""},"pageTop":{"showLevelIcon":false,"level1Icon":"","level2Icon":"","level3Icon":""}},"theme-comscore":{},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"toggle-chapters":{},"expandable-chapters":{},"search-plus":{}},"theme":"default","author":"zhengyuliang","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"记录技术文档内容","language":"zh-hans","gitbook":">=3.0.0","description":"记录Gitbook的配置和一些插件的使用","theme-default":{"showLevel":true}},"file":{"path":"CSS/18种CSS命名和书写规范.md","mtime":"2019-12-06T05:39:00.338Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-01-06T09:44:01.178Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sectionx/sectionx.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-toggle-chapters/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

